package com.example.demo.dao;

import com.example.demo.po.TBizArt;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

@Repository
@Mapper
public interface TBizArtDAO {

    TBizArt findById(Integer id);

    List<TBizArt> listByAuc(String auctionid);

    List<TBizArt> list(TBizArt art);

    int save(TBizArt art);

    int update(TBizArt art);

    HashMap<String,Object> findAllById(Integer id);

    List<TBizArt> findNoauc(TBizArt art);

    List<TBizArt> findArtByOrder(String orderid);

    int updateByartCode(TBizArt art);

    int editStateByshopId(TBizArt art);

//    List<TBizArt> findNoaucList(TBizArt art);

}
